#ifndef __RM_USERAPP_H__
#define __RM_USERAPP_H__

#include "key.h"
#include "Ranging_C.h"
#include "Flash.h"
#include "Back_App.h"

#define MDOD_1          1
#define MDOD_2          2
#define MDOD_3          3
#define MDOD_4          4
#define MDOD_5          5


#define DIS_DELAY       100

typedef struct
{
	uint8_t Mode;
	uint8_t Unit;
	uint8_t Rang;
	uint8_t Contin;
	uint16_t Dist_val;
	uint8_t M2_Set;	
	short int ImuPitch_Temp;
	uint8_t Rang_Next;	
	uint8_t Init_flag;	
}_User_par;

extern _User_par User_par;

void User_App(void);



#endif
